import request from "@/utils/request"

const url = '/qAnswer'

// 回答提问
export function addAnswerAPI({ content, questionId }) {
    return request({
        url: `${url}/answer`,
        method: 'POST',
        data: {
            content,
            questionId
        }
    })
}